
<%@ page import="controllers.CommonConnect" %>
<%@ page import="controllers.ByBenefitsMainConnect" %>
<%@ page import="java.util.List,java.text.*"%>
<%@ page import="java.util.List, java.util.HashMap" %>

   <style type="text/css" title="currentStyle">
			@import "../../media/dataTables/css/demo_page.css";
			@import "../../media/dataTables/css/demo_table_jui.css";
			@import "../../media/themes/smoothness/jquery-ui-1.7.2.custom.css";
		</style>
		<script type="text/javascript" language="javascript" src="../../media/dataTables/js/jquery.js"></script>
		<script type="text/javascript" language="javascript" src="../../media/dataTables/js/jquery.dataTables.js"></script>
        <script type="text/javascript">
        $(document).ready(function () {
            $("#Byfinancial").dataTable({
                "sPaginationType": "full_numbers",
                "bJQueryUI": true
            });                          
            
        });
        $(document).ready(function () {
            $("#ByAchieved").dataTable({
                "sPaginationType": "full_numbers",
                "bJQueryUI": true
            });                          
            
        });
        function hideView() { 
			 if (document.getElementById) { 
			 document.getElementById('view').style.visibility = 'hidden'; 

			 } 
			 }  
        
    
       
        </script>
        

<!-- content -->
<!--<a id="mainContent" name="mainContent"/>-->
<div id="lotusContent">
<div class="lotusLayout lotusHeader">
<!--<h1>Savvy Solutions</h1>
<div class="lotusDetails">The Global Operations Excellence collection of Savvy Solutions resulting in cost savings for the company</div>-->
</div>
<!-- View selector -->
<div class="lotusActionBar lotusBtnContainer">
<!-- Buttons -->
<!--<b>Savvy Solutions for Srinivas Vanamala:</b> -->
<!--<span class="lotusBtn lotusBtnAction lotusLeft">
<a href="/blogs/roller-ui/myblogs/newentry">New Entry</a>
</span>-->
</div>

<%  
 ByBenefitsMainConnect Beff= new  ByBenefitsMainConnect(); 
 List<HashMap<String,Object>> rsf = Beff.getQueryFinancial("benefitType", "Financial Benefits");   
%>

<h2><b> Savvy Solutions By Financial Benefits : </b></h2>	  
<div id="dt_example">
    <div id="container">
        <div id="demo_jui">       
      
	<table cellpadding="0" cellspacing="0" border="0" class="display" id="Byfinancial" onload="javascript:hideView()">
          <thead>
              <tr>
                        <th>Financial Benefit</th>
						<th># Savvy Solutions shared</th>
						<th># Savvy Solutions adopted</th>						
              </tr>
          </thead>
          <tbody>
        		<% for(int i = 0 ; i < rsf.size() ;i++){
				%>
		  <tr>
		    <td><a href="/modules/default/find-solution-sub-by-benefits-detail.jsp?benefitType=Financial&benefit=<%=rsf.get(i).get("benefitName")%>"><%=rsf.get(i).get("benefitName")%></a></td>
		    <td><%=rsf.get(i).get("CountSoShare")%></td>
		    <td><%=rsf.get(i).get("CountAdopShare")%></td>
		  </tr>
		<% } %>
          </tbody>
      </table>
	  </div>
    </div>
</div>



<%  
 ByBenefitsMainConnect Befa = new  ByBenefitsMainConnect(); 
 List<HashMap<String,Object>> rsa = Befa.getQueryAchieved("benefitType", "Achieved Benefits");   
%>


<h2><b> Savvy Solutions By Achieved Benefits : </b></h2>  

 <br>
 <br> 

<div id="dt_example">
    <div id="container">
        <div id="demo_jui">       
      	
	<table cellpadding="0" cellspacing="0" border="0" class="display" id="ByAchieved" onload="javascript:hideView()">
          <thead>
              <tr>
                        <th>Achieved Benefit</th>
						<th># Savvy Solutions shared</th>
						<th># Savvy Solutions adopted</th>						
              </tr>
          </thead>
          <tbody>
        		<% for(int i = 0 ; i < rsa.size() ;i++){
				%>
		  <tr>
		    <td><a href="/modules/default/find-solution-sub-by-benefits-detail.jsp?benefitType=Achieved&benefit=<%=rsa.get(i).get("benefitName")%>"><%=rsa.get(i).get("benefitName")%></a></td>
		    <td><%=rsa.get(i).get("CountSoShare")%></td>
		    <td><%=rsa.get(i).get("CountAdopShare")%></td>
		  </tr>
		<% } %>
          </tbody>
      </table>
	  </div>
    </div>
</div>


</div>

<!--End of Lotus Content-->


<!--End of Lotus Main-->

<!-- Footer gets moved to within Frame div in weblog.vm so closing tags need to go in weblog.vm - MTodd November 1 2007 </body> </html> -->

<input name="$$HTMLDocType" type="hidden" value="&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;">
<input name="SaveOptions" type="hidden" value="0">
<input name="HTTP_Cookie" type="hidden" value="mailpref=; webchat=1; redirectto=/global/collaboration/SavvySol.nsf/frmHome%3Fopenform; __utma=92377752.1171159035.1345172801.1345172801.1345172801.1; __utmz=92377752.1345172801.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); DomAuthSessId=FB16A96A523B895D2AD9FAA9C64DD351">
<input name="Query_String_Decoded" type="hidden" value="openform&amp;2012">
<input name="Query_String" type="hidden" value="openform&amp;2012">
<input name="dbName" type="hidden" value="global/collaboration/SavvySol.nsf">
<input name="Position" type="hidden" value="">
<input name="curUsername" type="hidden" value="CN=Srinivas Vanamala/OU=SG/OU=Asia/O=Celestica">
<input name="QuickSearch" type="hidden" value="0">
<input name="UserProfileInfo" type="hidden" value="189535317AC64EE385257665005FAC75~4628EE2C7B1ABC70862576880077E8BF~535C09333ABF01B485257654006B0E8D^DTV Process Re-layout~Reduce cosmetic and functional problems at PALM  final quality inspection~Reverse logistics capacity optimization model ^1~0~0^1~0~0">
<input name="txtProfileUNID" type="hidden" value=""></form>
</body>
</html>
